<div class="detail-panel_heading">
    <a href="#main" style="float:left"><i class="iconfont iconfont-prev"></i></a>
    <p class="detail-panel_title">基本信息</p>
</div>
<div class="detail-panel_body">
    <div class="weui-cells">
        <a href="javascript:void(0)" class="weui-cell weui-cell_access" id="avatarCell">
            <div class="weui-cell__bd">
                <p>头像</p>
            </div>
            <div class="weui-cell__ft">
                {{if cust_img && cust_img!=' '}}
                <img id="user-head" src="/show_img.do?fileId={{cust_img}}" class="profile__img" alt="">
                {{else if wx_head}}
                <img id="user-head" src="{{wx_head}}" class="profile__img" alt="">
                {{else}}
                <img id="user-head" src="/assets/img/head.png" class="profile__img" alt="">
                {{/if}}
            </div>
        </a>
        <input type="file" accept="image/*" style="display:none" id="avatarCellFile"/>
    </div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>客户名称</p>
            </div>
            <div class="weui-cell__ft" ld-bind-value="cust_name">
                {{cust_name}}
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd" >
                <p>客户编码</p>
            </div>
            <div class="weui-cell__ft" ld-bind-value="cust_code">
                {{cust_code}}
            </div>
        </div>
        {{if cust_type==1}}
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p ld-bind-value="organ_cred_type">{{$imports.getDict('organ_cred_type',cred_type)}}</p>
            </div>
            <div class="weui-cell__ft" ld-bind-value="organ_cred_code">
            </div>
        </div>
        {{else if cust_type==2}}
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p ld-bind-value="cred_type">{{$imports.getDict('cred_type',cred_type)}}</p>
            </div>
            <div class="weui-cell__ft" ld-bind-value="cred_code">
            </div>
        </div>
        {{/if}}
    </div>
    <div class="weui-cells">
        {{if cust_type == 2}}
        <a href="javascript:void(0)" class="weui-cell weui-cell_access"
            ld-comp="comps/select" ld-bind-data="sexItems" ld-added="compAddHandler" value="{{sex}}">
            <div class="weui-cell__bd">
                <p>性别</p>
            </div>
            <div class="weui-cell__ft" id="gender">
                {{sex}}
            </div>
        </a>
        <a href="#profile/edit/address" class="weui-cell weui-cell_access" operate="changeAddress">
            <div class="weui-cell__bd">
                <p>地址</p>
            </div>
            <div class="weui-cell__ft" ld-bind-value="conta_addr">
                未设置
            </div>
        </a>
        {{else if cust_type==1}}
        <a href="#profile/edit/address" class="weui-cell weui-cell_access" operate="changeAddress">
            <div class="weui-cell__bd">
                <p>注册地址</p>
            </div>
            <div class="weui-cell__ft" ld-bind-value="register_address">
                未设置
            </div>
        </a>
        {{/if}}
    </div>
</div>
<!--<div class="detail-panel_foot">-->
    <!--<a href="javascript:;" class="weui-btn weui-btn_primary" operate="applyAuth">提交认证申请</a>-->
<!--</div>-->